angle_rad_2d Interface

interface
public function angle_rad_2d(p1, p2, p3) result(rst)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: p1(2)

Point 1.

real(kind=real64), intent(in) :: p2(2)

Point 2.

real(kind=real64), intent(in) :: p3(2)

Point 3.

Return Value real(kind=real64)

The angle swept out by the rays, in radians. If either ray has zero length, then the angle is set to 0.

Description

Returns the angle swept out between two rays in 2D.